<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class }} class="{{ . }}" {{- end }}>
  {{ .Text | safeHTML }}
  <a href="#{{ .Anchor }}" class="anchor-link">#</a>
</h{{ .Level }}>